#pragma once
#include "Objects/Object.h"

class PauseScreen :
	public star::Object
{
public:
	PauseScreen(bool bIsLoadingScreen = false);
	~PauseScreen();

	void Reverse();
	bool IsFinished() const;
	void Reset();

protected:
	void Initialize();
	void Update(const star::Context& context);

private:
	star::Object *m_pTop, 
				 *m_pBottom;
	float m_PosY, m_FallSpeed;
	bool m_bReversed,
		 m_bIsLoadingScreen,
		 m_bIsFinished;
	int m_WindowHeight;

	PauseScreen(const PauseScreen&);
	PauseScreen(PauseScreen&&);
	PauseScreen& operator=(const PauseScreen&);
};

